PolyForm Noncommercial License 1.0.0

<https://polyformproject.org/licenses/noncommercial/1.0.0>

Copyright (c) 2026 Matthew Stanley

## Acceptance

In order to get any license under these terms, you must agree to them as
both strict obligations and conditions to all your licenses.

## Copyright License

The licensor grants you a copyright license for the software to do
everything you might otherwise need the licensor's permission to do. Your
license covers distributing the software, making changes and new works
based on it, and all other uses of the software, subject to the
limitations and conditions in these terms.

## Noncommercial Purposes

Any noncommercial purpose is a permitted purpose.

## Personal Uses

Personal use for research, experiment, and testing for the benefit of
public knowledge, personal study, private entertainment, hobby projects,
amateur pursuits, or religious observance, without any anticipated
commercial application, counts as use for a permitted purpose.

## Noncommercial Organizations

Use by any charitable organization, educational institution, public
research organization, public safety or health organization, environmental
protection organization, or government institution counts as use for a
permitted purpose regardless of the source of funding or obligations
resulting from the funding.

## Fair Use

You may have "fair use" rights for the software under the law. These
terms do not limit them.

## No Other Rights

These terms do not allow you to sublicense or transfer any of your
licenses to anyone else, or prevent the licensor from granting licenses to
anyone else. These terms do not imply any other licenses.

## Patent Defense

If you make any written claim that the software infringes or contributes
to infringement of any patent, your patent license for the software granted
under these terms ends immediately. If your company makes such a claim,
your patent license ends immediately for work on behalf of your company.

## Violations

The first time you are notified in writing that you have violated any of
these terms, or done anything with the software not covered by your
licenses, your licenses can nonetheless continue if you come into full
compliance with these terms, and take practical steps to correct past
violations, within 32 days of receiving notice. Otherwise, all your
licenses end immediately.

## No Liability

As far as the law allows, the software comes as is, without any warranty
or condition, and the licensor will not be liable to you for any damages
arising out of these terms or the use or nature of the software, under any
kind of legal claim.

## Definitions

The **licensor** is the individual or entity offering these terms, and the
**software** is the software the licensor makes available under these
terms.

**You** refers to the individual or entity agreeing to these terms.

**Your company** is any legal entity, sole proprietorship, or other kind
of organization that you work for, plus all organizations that have control
over, are under the control of, or are under common control with that
organization. **Control** means ownership of substantially all the assets
of an entity, or the power to direct its management and policies by vote,
contract, or otherwise. Control can be direct or indirect.

**Your licenses** are all the licenses granted to you for the software
under these terms.

**Use** means anything you do with the software requiring one of your
licenses.

---

## Scope of this license

These terms cover this repository's own source, documentation, and tooling —
the recompiler, the function finder, the build and analysis tools, the BIOS and
title configuration, and the docs.

Three boundaries sit outside them, and these terms do not and cannot change
any of them:

- **Third-party code keeps its own terms.** See
  [`THIRD_PARTY_ATTRIBUTION.md`](THIRD_PARTY_ATTRIBUTION.md) for the provenance
  and licensing posture of every ported or vendored component.
- **The runner and oracle trees stay under the MIT License**; see
  [`LICENSE-MIT`](LICENSE-MIT). The project's own source in `runner/src/`,
  `recompiler/armv4t/`, `recompiler/support/`, and `oracle/` compiles and links
  against vendored melonDS code, which is GPL-3.0-or-later, so `nds_runner` and
  `ndsref` are combined works distributable only under GPL-3.0-or-later.
  GPL-3.0 does not permit the noncommercial condition above to be attached to
  any part of such a work, so this project's own code inside that boundary
  keeps a GPL-compatible license.
- **The melonDS-derived code is under GPL-3.0-or-later**; see
  [`LICENSE-GPL`](LICENSE-GPL). That covers `runner/vendor/melonds/`,
  `runner/src/melonds_compute/`, `runner/src/frontend.cpp`, and
  `oracle/patches/`, including the project-written shim headers and interface
  slices in them.

For the avoidance of doubt, the licensor's intent is to restrict uses where
profit is derived from this software. Non-profit personal, educational,
or community use is welcome regardless of organizational context.

For commercial licensing inquiries, contact the licensor, Matthew Stanley,
at <https://1379.tech>.
